/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License. You may obtain a copy of the License at.
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing,
 *  software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 *  either express or implied. See the License for the specific language governing permissions and limitations under the License.
 */

package com.mansoor.app.islamicnames.activities;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

/**
 * Created by IntelliJ IDEA.
 * User: TKMAQ61
 * Date: Oct 21, 2009
 * Time: 3:44:14 PM
 */
public class Launch extends Activity
{
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.launch);
        Button find = (Button) findViewById(R.id.find);
        Button browse = (Button) findViewById(R.id.browse);
        Button favorate = (Button) findViewById(R.id.favorate);

        find.setOnClickListener
                (
                        new View.OnClickListener()
                        {
                            public void onClick(View view)
                            {
                                // startActivity(new Intent(this,));//To change body of implemented methods use File | Settings | File Templates.
                            }
                        }
                );

        browse.setOnClickListener(new View.OnClickListener(){
            public void onClick(View view)
            {
               startActivity(new Intent(view.getContext(),Main.class));
            }
        });

          favorate.setOnClickListener(new View.OnClickListener(){
            public void onClick(View view)
            {
               startActivity(new Intent(view.getContext(),ViewFavorates.class));
            }
        });

    }
}
